package cn.lingyangwl.agile.auth.assembly;

import cn.lingyangwl.agile.auth.model.entity.ExtLdpConnect;
import cn.lingyangwl.agile.auth.model.rqrs.ldp.*;
import org.mapstruct.Mapper;

/**
 * 身份源连接
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface ExtLdpConnectAssembly {
  ExtLdpConnectResp toConnectResp(ExtLdpConnect source);
  
  ExtLdpConnect toConnect(ExtLdpConnectSaveReq source);
  
  ExtLdpConnect toConnect(ExtLdpConnectUpdateReq source);

  ExtLdpExcel.Connect toConnectExcel(ExtLdpConnect extLdpConnect);

  ExtLdpConnect toConnect(ExtLdpExcel.Connect source);
}
